#pragma once
#include "stdafx.h"
#include "Tools.h"


class CHarmEffective
{
public:
	CHarmEffective();
	~CHarmEffective();
	IplImage *m_Img[HARM_EFFECTIVE_IMAGE_COUNT];
	CHarmEffective(IplImage *img[HARM_TYPE_COUNT][HARM_EFFECTIVE_IMAGE_COUNT], int type, int posx, int posy, int dir,int ap);
	CvPoint m_MovePos;
	bool m_isClear;
	int m_StateId;
	int m_Dir;
	int m_AP;
	int m_type;
	void ImageChange();
	void DrawToBack(IplImage *Bg);
};

